package com.youbug.kefu.constant;

import com.youbug.kefu.entity.Message;

public class ChatConstant {

    public static final String AGENT = "agent";//坐席
    public static final String CLIENT = "client";//客户
    public static final String SYSTEM = "system";//系统

    public static final String MSG_TYPE_TEXT = "text";
    public static final String MSG_TYPE_IMAGE = "image";
    public static final String MSG_TYPE_AUDIO = "audio";
    public static final String MSG_TYPE_VEDIO = "vedio";
    public static final String MSG_TYPE_JSON = "json";
    public static final String MSG_TYPE_CLOSE = "close";
    public static final String MSG_TYPE_QUEUE = "queue";
    public static final String MSG_TYPE_KEEPALIVE = "keepalive";

    public static final Integer CHAT_STATE_WAITTING = 0;//等待
    public static final Integer CHAT_STATE_TALKING = 1;//通话
    public static final Integer CHAT_STATE_CLOSED = 2;//结束

    public static final Message IN_QUEUE_MSG = new Message(SYSTEM, MSG_TYPE_TEXT,"已经进入排队，请等待");
    public static final Message CLOSE_MSG = new Message(SYSTEM, MSG_TYPE_CLOSE, "会话已结束");


}
